package com.ygqh.baby.service.trustone;

import java.util.ResourceBundle;

import com.ygqh.baby.utils.LocalResourceBundle;

public class TrustoneConfig {

	private final static String ebusinessQstcode;
	private final static String logisticsQstcode;
	private final static String paymentQstcode_alipay;
	private final static String paymentQstcode_wechat;
	private final static String declarationQstcode;
	private final static String storageQstcode;
	private final static String portQstcode;
	private final static String supplierQstcode;
	private final static String merchantCustomsCode;
	private final static String merchantCustomsName;

	private final static String cancelorderapi;
	private final static String addorderapi;
	private final static Boolean trustoneProductionMode;
	private final static String refreshToken;
	private final static String accessTokenApi;
	static {
		ResourceBundle BUNDLE = LocalResourceBundle.getTrustoneBundle();
		ebusinessQstcode = BUNDLE.getString("trustone.ebusinessQstcode");
		logisticsQstcode = BUNDLE.getString("trustone.logisticsQstcode");
		paymentQstcode_alipay = BUNDLE.getString("trustone.paymentQstcode.alipay");
		paymentQstcode_wechat = BUNDLE.getString("trustone.paymentQstcode.wechat");
		declarationQstcode = BUNDLE.getString("trustone.declarationQstcode");
		storageQstcode = BUNDLE.getString("trustone.storageQstcode");
		portQstcode = BUNDLE.getString("trustone.portQstcode");
		supplierQstcode = BUNDLE.getString("trustone.supplierQstcode");
		merchantCustomsCode = BUNDLE.getString("yiigoo.merchantCustomsCode");
		merchantCustomsName = BUNDLE.getString("yiigoo.merchantCustomsName");
		cancelorderapi = BUNDLE.getString("trustone.api.cancelorder");
		addorderapi = BUNDLE.getString("trustone.api.addorder");
		refreshToken = BUNDLE.getString("trustone.api.refreshToken");
		accessTokenApi = BUNDLE.getString("trustone.api.accessToken");
		trustoneProductionMode = Boolean.valueOf(BUNDLE.getString("trustone.production.mode"));
	}

	public static String getCancelorderapi() {
		return cancelorderapi;
	}

	public static String getAddorderapi() {
		return addorderapi;
	}

	public static String getEbusinessqstcode() {
		return ebusinessQstcode;
	}

	public static String getLogisticsqstcode() {
		return logisticsQstcode;
	}

	public static String getPaymentqstcodeAlipay() {
		return paymentQstcode_alipay;
	}

	public static String getPaymentqstcodeWechat() {
		return paymentQstcode_wechat;
	}

	public static String getDeclarationqstcode() {
		return declarationQstcode;
	}

	public static String getStorageqstcode() {
		return storageQstcode;
	}

	public static String getPortqstcode() {
		return portQstcode;
	}

	public static String getSupplierqstcode() {
		return supplierQstcode;
	}

	public static String getMerchantcustomscode() {
		return merchantCustomsCode;
	}

	public static String getMerchantcustomsname() {
		return merchantCustomsName;
	}


	public static Boolean getTrustoneProductionMode() {
		return trustoneProductionMode;
	}

	public static String getRefreshToken() {
		return refreshToken;
	}

	public static String getAccessTokenApi() {
		return accessTokenApi;
	}
}